<!-- $Id: goods_list.htm 17126 2010-04-23 10:30:26Z liuhui $ -->

{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js,jquery.js"}




<!-- 优惠卷列表 -->
<form method="post" action="" name="listForm" onsubmit="return confirmSubmit(this)">
  <!-- start goods list -->
  <div class="list-div" id="listDiv">
{/if}
<table cellpadding="3" cellspacing="1">
  <tr>
    <th>优惠卷编号</th>
    <th>优惠卷类型</th>
    <th>开始时间</th>
    <th>结束时间</th>
    <th>发放时间</th>
    <th>领取时间</th>
    <th>绑定用户</th>
    <th>操作</th>
  </tr>
  {foreach from=$coupon_info item=coupon}
  <tr>

    <td align="center">{$coupon.coupon_code}</td>
    <td align="center">{$coupon.type_name}</td>
    <td align="center">{$coupon.start_time}</td>
    <td align="center">{$coupon.end_time}</td>
    <td align="center">{$coupon.add_time}</td>
    <td align="center">{$coupon.exchange_time}</td>
    <td align="center">{$coupon.user}</td>
    <td align="center">
      <a href="javascript:;" onclick="listTable.delete(this,'{$coupon.coupon_id}','你确定要删除这个优惠卷','remove');" title="{$lang.remove}">{$lang.remove}</a>
    </td>
  </tr>
  {foreachelse}
  <tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>
  {/foreach}
</table>
<!-- end goods list -->

<!-- 分页 -->
<table id="page-table" cellspacing="0">
  <tr>
    <td align="right" nowrap="true">
    {include file="page.htm"}
    </td>
  </tr>
</table>


</div>


</form>

<script type="text/javascript">
  listTable.recordCount = {$record_count};
  listTable.pageCount = {$page_count};
  listTable.query = "info_query";
  {foreach from=$filter item=item key=key}
  listTable.filter.{$key} = '{$item}';
  {/foreach}
</script>

